package com.project.bean;

import java.time.LocalDate;

/**
 * 班级实体类
 */
public class ClassBean {
    /**
     * 班级编号
     */
    private Integer classId;
    /**
     * 班级名称
     */
    private String className;
    /**
     * 带班老师
     */
    private String classTeacher;

    /**
     * 开班时间
     */
    private LocalDate classDate;

    public ClassBean() {
    }

    public ClassBean(Integer classId, String className, String classTeacherl, LocalDate classDate) {
        this.classId = classId;
        this.className = className;
        this.classTeacher = classTeacherl;
        this.classDate = classDate;
    }

    public ClassBean(String className, String classTeacherl, LocalDate classDate) {
        this.className = className;
        this.classTeacher = classTeacherl;
        this.classDate = classDate;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassTeacherl() {
        return classTeacher;
    }

    public void setClassTeacherl(String classTeacherl) {
        this.classTeacher = classTeacherl;
    }

    public LocalDate getClassDate() {
        return classDate;
    }

    public void setClassDate(LocalDate classDate) {
        this.classDate = classDate;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", classTeacherl='" + classTeacher + '\'' +
                ", classDate=" + classDate +
                '}'+"\n";
    }
}
